#include "../mqserver/connection.hpp"

int main()
{
    mmq::ConnectManager::ptr cmp = std::make_shared<mmq::ConnectManager>();
    cmp->NewConnection(mmq::ConsumerManager::ptr(),
        std::make_shared<mmq::VirtualHost>("host1", "./data/host1/message/", "./data/host1/host1.db"),
        mmq::ProtobufCodecPtr(),
        muduo::net::TcpConnectionPtr(), 
        Threadpool::ptr());

    return 0;
}